<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<meta name="generator" content="HTML Tidy for Cygwin (vers 1st September 2004), see www.w3.org">
<style type="text/css">
html {
  font-family: Arial,Helvetica,sans-serif;
  background-color: white;
  color: black;
}
p {
  max-width: 60em;
}
table {
  border-collapse: collapse;
  empty-cells: show;
  margin: 1em 0em;
  border: 0.1em solid black;
}
th, td {
  border-style: solid;
  border-width: 0.05em 0.1em;
  border-color: black;
  padding: 0.1em 0.2em;
  height: 1.5em;
}
th {
  background-color: rgb(192, 192, 192);
  color: black;
  border-width: 0.1em;
  font-weight: bold;
  text-align: center;
  text-transform: capitalize;
  letter-spacing: 0.1em;
}
/* Widths of named columns */
col.name {
  width: 10em;
}
.action, .value, .arg {
  width: 15em;
}
/* Properties for the name column 
- td:first-child should work in CSS 2.1 avare browsers (tested in Firefox)
- col.name is against specs but works in IE
*/
td:first-child, col.name {
  background-color: rgb(240, 240, 240);
  text-transform: capitalize;
  letter-spacing: 0.1em;
}
/* required for IE */
th {
  font-style: normal;
}
</style>
<title>Robot Test Cases</title></head>
<body>
<h1>Robot Test Cases</h1>
<table border="1">
<colgroup span="99"><col class="name"><col class="value" span="4"></colgroup>
<thead>
<tr>
<th>Setting</th>
<th>Value</th>
<th>Value</th>
<th>value</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Force Tags</td><td>pybot</td><td>jybot</td><td>regression</td><td></td></tr><tr>
<td>Suite Setup</td><td>Run Tests</td>

<td>--critical *remove*<br>--report report.html</td>
<td>standard_libraries${/}builtin${/}tags</td>
<td></td>
</tr>
<tr><td></td><td></td><td></td><td></td><td></td></tr><tr>
<td>Resource</td>
<td>atest_resource.txt</td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<table border="1">
<colgroup span="99"><col class="name"><col class="value" span="4"></colgroup>
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
<th>Value</th>
<th>Value</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>@{SUITE_TAGS}=</td>
<td>default</td><td>force</td><td>force-init</td><td>set</td>



</tr>
<tr>
<td>...</td><td>set-init</td>

<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<table border="1">
<colgroup span="99"><col class="name"><col class="action"><col class="arg" span="3"></colgroup>
<thead>
<tr>
<th>Test Case</th>
<th>Action</th>
<th>Argument</th>
<th>Argument</th>
<th>Argument</th>


</tr>
</thead>
<tbody>
<tr>
<td>Set And Remove Tags In Suite Level</td>
<td>Should Have Only Suite Tags</td><td>Set And Remove Tags In Suite Level</td>
<td></td>

<td></td>


</tr>
<tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Set No Tags</td><td>Should Have Only Suite Tags</td><td>Set No Tags</td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Set One Tag</td><td>${tc} =</td><td>Tags Should Have Been Added</td><td>Set One Tag<br></td><td>one</td></tr><tr><td></td><td>Check Log Message</td><td>${tc.kws[0].msgs[0]}</td><td>Set tag 'one'.</td><td></td></tr><tr>
<td></td>
<td></td><td></td>

<td></td><td></td>


</tr><tr><td>Set Multiple Tags</td><td>${tc} =</td><td>Tags Should Have Been Added</td><td>Set Multiple Tags<br></td><td></td></tr><tr><td></td><td>...</td><td>1</td><td>2</td><td>3</td></tr><tr><td></td><td>...</td><td>HELLO</td><td>Some spaces here</td><td></td></tr><tr><td></td><td>Check Log Message</td><td>${tc.kws[0].msgs[0]}</td><td>Set tags '1', '2' and '3'.</td><td></td></tr><tr><td></td><td>Check Log Message</td><td>${tc.kws[1].msgs[0]}</td><td>Set tags 'HELLO' and 'Some spaces here'.</td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Tags Set In One Test Are Not Visible To Others</td><td>Should Have Only Suite Tags</td><td>Tags Set In One Test Are Not Visible To Others</td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Remove No Tags</td><td>Should Have Only Suite Tags</td><td>Remove No Tags</td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Remove One Tag</td><td>${tc} =</td><td>Tags Should Have Been Removed</td><td>Remove One Tag</td><td>force</td></tr><tr><td></td><td>Check Log Message</td><td>${tc.kws[0].msgs[0]}</td><td>Removed tag 'force'.</td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Remove Non-Existing Tag</td><td>Should Have Only Suite Tags</td><td>Remove Non-Existing Tag</td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Remove Multiple Tags</td><td>${tc} =</td><td>Tags Should Have Been Removed</td><td>Remove Multiple Tags</td><td>default</td></tr><tr><td></td><td>...</td><td>set<br></td><td>set-init</td><td></td></tr><tr><td></td><td>Check Log Message</td><td>${tc.kws[0].msgs[0]}</td><td>Removed tags 'default', 'non-existing' and 'SET'.</td><td></td></tr><tr><td></td><td>Check Log Message</td><td>${tc.kws[1].msgs[0]}</td><td>Removed tag 'set-init'.</td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Remove Tags With Pattern</td><td>Check Test Tags</td><td>Remove Tags With Pattern</td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Tags Removed In One Test Are Not Removed From Others</td><td>Should Have Only Suite Tags</td><td>Tags Removed In One Test Are Not Removed From Others</td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Set And Remove Tags In A User Keyword</td><td>Check Test Tags</td><td>Set And Remove Tags In A User Keyword</td><td>tc</td><td>uk</td></tr><tr><td></td><td>...</td><td>uk2</td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Set Tags In Test Setup</td><td>Check Test Tags</td><td>Set Tags In Test Setup</td><td>set-init</td><td>setup</td></tr><tr><td></td><td>...</td><td>tag</td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Set Tags In Test Teardown</td><td>Check Test Tags</td><td>Set Tags In Test Teardown</td><td>set-init</td><td>teardown</td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Using Set And Remove Tags In Suite Teardown Fails</td><td>Should Be Equal</td><td>${SUITE.suites[1].message}</td><td>Suite teardown failed:\n<br>'Set Tags' and 'Remove Tags' keywords cannot be used in suite teardown.</td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Set and Removed Tags Should Affect Criticality</td><td>Check Stdout Contains</td><td>0&nbsp;critical tests, 0 passed, 0 failed\n<br>14 tests total, 12 passed, 2 failed</td><td></td><td></td></tr><tr><td></td><td>${report} =</td><td>Get File </td><td>${OUTDIR}/report.html</td><td></td></tr><tr><td></td><td>Should Contain</td><td>${report}</td><td>&lt;div class="stat_name"&gt;&lt;span&gt;Critical Tests&lt;/span&gt;&lt;/div&gt;\n<br>&lt;/td&gt;\n<br>&lt;td class="col_stat"&gt;0&lt;/td&gt;\n<br>&lt;td class="col_stat"&gt;0&lt;/td&gt;\n<br>&lt;td class="col_stat"&gt;0&lt;/td&gt;\n</td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr>
</tbody>
</table>
<table border="1">
<colgroup span="99"><col class="name"><col class="action"><col class="arg" span="3"></colgroup>
<thead>
<tr>
<th>Keyword</th>
<th>Action</th>
<th>Argument</th>
<th>Argument</th>
<th>Argument</th>
</tr>
</thead>
<tbody>

<tr><td>Should Have Only Suite Tags</td><td>[Arguments]</td><td>${testname}</td><td></td><td></td></tr><tr><td></td><td>Check Test Tags</td><td>${testname}</td><td>@{SUITE_TAGS}</td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Tags Should Have Been Added</td><td>[Arguments]</td><td>${testname}</td><td>@{added}</td><td></td></tr><tr><td></td><td>@{tags} =</td><td>Create List</td><td>@{SUITE_TAGS}</td><td>@{added}</td></tr><tr><td></td><td>Sort List</td><td>${tags}</td><td></td><td></td></tr><tr><td></td><td>${tc} =</td><td>Check Test Tags</td><td>${testname}</td><td>@{tags}</td></tr><tr><td></td><td>[Return]</td><td>${tc}</td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Tags Should Have Been Removed</td><td>[Arguments]</td><td>${testname}</td><td>@{removed}</td><td></td></tr><tr><td></td><td>@{tags} =</td><td>Copy List</td><td>${SUITE_TAGS}</td><td></td></tr><tr><td></td><td>Remove Values From List</td><td>${tags}</td><td>@{removed}</td><td></td></tr><tr><td></td><td>${tc} =</td><td>Check Test Tags</td><td>${testname}</td><td>@{tags}</td></tr><tr><td></td><td>[Return]</td><td>${tc}</td><td></td><td></td></tr>
</tbody>
</table>
</body></html>